<template>

	<div>
		{{ message }}
		<button @click="logMessage">log</button>
	</div>

</template>

<style>

</style>

<script setup>
import { ref } from 'vue';

const message = ref("这是消息")
const logMessage = () => {
	console.log(message)
}

</script>